package com.example.testapp.model;

import java.time.LocalDateTime;

public class UserResponse {
    private int id;
    private String account;
    private String username;
    private String token;
    private long  addTime;
    private int recordCount; // 如果需要显示记账次数
    private int recordDays;  // 如果需要显示记账天数

    // 构造方法
    public UserResponse() {}

    // Getter方法
    public long getAddTime() {
        return addTime;
    }
    public int getId() { return id; }
    public String getAccount() { return account; }
    public String getUsername() { return username; }
    public String getToken() { return token; }
    public int getRecordCount() { return recordCount; }
    public int getRecordDays() { return recordDays; }

    // Setter方法
    public void setAddTime(long addTime) {
        this.addTime = addTime;
    }
    public void setId(int id) { this.id = id; }
    public void setAccount(String account) { this.account = account; }
    public void setUsername(String username) { this.username = username; }
    public void setToken(String token) { this.token = token; }
    public void setRecordCount(int recordCount) { this.recordCount = recordCount; }
    public void setRecordDays(int recordDays) { this.recordDays = recordDays; }
}